package com.tfswx.jkgl.designer.dto.stgl;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Smile
 * @date 2021/12/13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("查询字段策略集合输出类")
public class ZdclQueryOutputDTO {
    @ApiModelProperty("验证方式")
    private List<ClOutputDTO> yzfs;
    @ApiModelProperty("加密方式")
    private List<ClOutputDTO> jmfs;
    @ApiModelProperty("生成策略")
    private List<ClOutputDTO> sccl;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @ApiModel("策略输出类")
    public static class ClOutputDTO {
        @ApiModelProperty("生成策略代码")
        private String dm;
        @ApiModelProperty("生成策略名称")
        private String mc;
        @ApiModelProperty("是否需要参数")
        private Boolean sfxycs;
    }
}
